package pageblock;

import change.Revision;

/**
 * Created by IntelliJ IDEA.
 * User: Evgeniy Krasko
 * Date: 02.12.11
 * Time: 20:13
 */
public class PageBlock {
    private final PageBlockType type;
    private final Revision revision;
    private final int contentHashCode;

    public PageBlock(PageBlockType type, Revision revision, int contentHashCode) {
        this.type = type;
        this.revision = revision;
        this.contentHashCode = contentHashCode;
    }

    public PageBlockType getType() {
        return type;
    }

    public Revision getRevision() {
        return revision;
    }

    public int getContentHashCode() {
        return contentHashCode;
    }
}
